import { get,post } from '@/utils/request'

export function getDepartmentList(data) {
	return get('/department/getDepartmentList',data)
}

export function getAvailableDepartmentList(data) {
	return get('/department/getAvailableDepartmentList',data)
}

export function createDepartment(data) {
	return post('/department/createDepartment',data)
}

export function updateDepartment(data) {
	return get('/department/updateDepartment',data)
}

export function deleteDepartment(data) {
	return get('/department/deleteDepartment',data)
}

export function getDepartmentById(data) {
	return get('/department/getDepartmentById',data)
}